package moocloudstudio.minder.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户
 */
@ApiModel(value = "用户信息", description = "用户信息")
@Document
@Data
public class MinderUser extends MinderEntity{
    @ApiModelProperty(value = "用户名", position = 1)
    private String username;

    @ApiModelProperty(value = "昵称", position = 2)
    private String nickname;

    @ApiModelProperty(value = "密码", position = 3)
    private String password;

    @ApiModelProperty(value = "盐", position = 4)
    private String salt;
}
